package com.hafu.service.impl;

import com.hafu.dao.InventoryDao;
import com.hafu.model.Inventory;

import java.sql.SQLException;
import java.util.ArrayList;

/**
 * @Author:xiaohai 2072158919@qq.com 海航源
 * @Date: 2024/11/1  下午8:54
 * @Version 1.0
 * @description
 */
public class QueryinventoryImpl {

    private InventoryDao inventoryDao = new InventoryDao();

    public ArrayList<Inventory> getinventoryList() throws SQLException {
        ArrayList<Inventory> inventoryArrayList = inventoryDao.getinventoryList();
        return inventoryArrayList;
    }
}
